// api/user.ts
import request from './request'

export const getMyStats = () => {
  return request.get('/user/stats')
}

export const getMyRegistrations = () => {
  return request.get('/user/registrations')
}

export const updateProfile = (data: any) => {
  return request.put('/user/profile', data)
}